<?php


define( "MY_ROOT_PATH", "./"); //根目錄位置
if (!$inc["inc"]) include MY_ROOT_PATH."config/inc.php";

$str="";
$str.="";
$str.="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$str.="<label>\n";

$fp=fopen("test.log","a+");
$SQL="select m_title from member where m_title like '%".$_POST['value']."%' and g_id='2' order by m_id asc limit 0,10";
fputs($fp,$SQL."\r\n");
$result=mysql_query($SQL);
while (list($strName)=mysql_fetch_array($result)) {
	$str.="\t<respone result=\"".$strName."\" value=\"".$strName."\" />\n";
}
/*
for ($i=1;$i<=10;$i++){
	$str.="\t<respone result=\"".$i."\" value=\"".$i."\" />\n";
}
*/
$str.="</label>\n";
print $str;

exit;


class JquerySuggest{


	function JquerySuggest(){

	}

	function __construct(){

	}



}


$str="";
$str.="";
$str.="<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$str.="<label>\n";

for ($i=1;$i<=10;$i++){
	$str.="\t<respone result=\"".$i."\" value=\"".$i."\" />\n";
}
$str.="</label>\n";
print $str;



?>